<?php

namespace App\Repositories;

use App\Models\NewDevelopmentType;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class NewDevelopmentTypeRepository
 * @package App\Repositories
 * @version March 18, 2018, 12:03 pm CST
 *
 * @method NewDevelopmentType findWithoutFail($id, $columns = ['*'])
 * @method NewDevelopmentType find($id, $columns = ['*'])
 * @method NewDevelopmentType first($columns = ['*'])
*/
class NewDevelopmentTypeRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'title',
        'sort'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return NewDevelopmentType::class;
    }
}
